Salesforce UX API icon

Salesforce UX API

(0 reviews)

TMF-702 updatePrimaryEsimSubscriptionTransferStatus

This operation is to submit the Subscription Transfer Status back to SES for Primary Devices

https://[localhost]:[port]/sfdc-ux/v1/{businessId}/resourceAttributeValueChangeEvent
url Param
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit. Expected one is "PR"-Puerto RicoY
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.Y
channelIdstringThis is to identify the source (Project).
Value : BUS
sfdc-b2c
Conditionally Mandatory. It is Mandatory only for B2B and B2C as there are underlying conditions based on channelId received
Y*
targetSystemstringThis is to identify the target system.
Value : SES
Y*
Y for B2B
Request
{
    "eventId": "updatePrimaryEsimSubscriptionTransferStatus",
    "correlationId": "uniqueId",
    "eventType": "ResourceAttributeValueChangeEvent",
    "event": {
        "resource": {
            "id": "8613912344719", //PrimaryMSISDN Required
            "name": "MSISDN",
            "href": "/sfdc-ux/v1/resourceAttributeValueChangeEvent",
            "resourceRelationship": [
                {
                    "relationshipType": "current profile",
                    "resource": {
                        "id": "460019871234210",  //Old IMSI Required
                        "name": "imsi",
                        "href": "/sfdc-ux/v1/resourceAttributeValueChangeEvent",
                        "resourceRelationship": [
                            {
                                "relationshipType": "targets",
                                "resource": {
                                    "id": "8986010110231170983S",
                                    "name": "deviceType",
                                    "description": "iphone",
                                    "category": "eid",
                                    "href": "/sfdc-ux/v1/resourceAttributeValueChangeEvent"
                                }
                            }
                        ],
                        "resourceCharacteristic": [
                            {
                                "name": "operatorId",
                                "valueType": "String",
                                "value": "operatorA"
                            },
                            {
                                "name": "subscriptionStatus",
                                "valueType": "String",
                                "value": "Active"
                            },
                            {
                                "name": "iccidProfile",
                                "valueType": "object",
                                "value": {
                                    "imei": "356979067872692",  //Old IMEI Required
                                    "iccid": "356935435417269",
                                    "meid": "356935562525632",
                                    "iccidStatus": "Installed"
                                }
                            }
                        ]
                    }
                },
                {
                    "relationshipType": "new profile",
                    "resource": {
                        "id": "460019871234299",
                        "name": "imsi",
                        "href": "/sfdc-ux/v1/resourceAttributeValueChangeEvent",
                        "resourceRelationship": [
                            {
                                "relationshipType": "targets",
                                "resource": {
                                    "id": "8986010110231170985S",
                                    "name": "device Type",
                                    "description": "iphone",
                                    "category": "eid",
                                    "href": "/sfdc-ux/v1/resourceAttributeValueChangeEvent"
                                }
                            }
                        ],
                        "resourceCharacteristic": [
                            {
                                "name": "primaryMsisdn",
                                "valueType": "String",
                                "value": "8613912344719"
                            },
                            {
                                "name": "operatorId",
                                "valueType": "String",
                                "value": "operatorA"
                            },
                            {
                                "name": "subscriptionStatus",
                                "valueType": "String",
                                "value": "Active"
                            },
                            {
                                "name": "iccidProfile",
                                "valueType": "object",
                                "value": {
                                    "imei": "356979067872692", //New IMEI Required
                                    "iccid": "35693543541770", //New ICCID Required
                                    "meid": "356935562525632",
                                    "iccidStatus": "Installed"
                                }
                            }
                        ]
                    }
                }
            ]
        }
    }
}

Definitions

Each of the request parameters is detailed.

NameTypeDescriptionRequired
eventIdstringname of event
value: "updatePrimaryEsimSubscriptionTransferStatus"
Y
correlationIdstringunique id of correlationN
eventTypestringtype of event
value: "ResourceAttributeValueChangeEvent"
Y
eventobjectevent objectY
resourceobjectevent resource objectY
event.resource.idstringvalue of resource
Example: value of MSISDN
Y
event.resource.namestringname of the resource
Value: "MSISDN"
Y
event.resource.hrefstringthe URI of the objectN
event.resource.resourceRelationshiparray objectresource relationship of event resourceY
event.resource.resourceRelationship.relationshipTypestringtype of resource relationship
Value: "current profile" or "new profile"
Y
event.resource.resourceRelationship.resourcestringresource of resource relationshipY
event.resource.resourceRelationship.resource.idstringresource identifier
Example: value of imsi
Y
event.resource.resourceRelationship.resource.namestringname of resource identifier
Value: "imsi"
Y
event.resource.resourceRelationship.resource.hrefstringthe URI of the objectY
event.resource.resourceRelationship.resource.resourceRelationshiparray objectresource relationship of event resourceY
event.resource.resourceRelationship.resource.resourceRelationship.relationshipTypestringtype of resource relationship
value: "targets"
Y
event.resource.resourceRelationship.resource.resourceRelationship.resource.idstringresource relationship resource identifier
example: value of eid
Y
event.resource.resourceRelationship.resource.resourceRelationship.resource.namestringresource relationship resource name
Value: "deviceType"
N
event.resource.resourceRelationship.resource.resourceRelationship.resource.descriptionstringresource relationship resource description
Example: value of device type
N
event.resource.resourceRelationship.resource.resourceRelationship.resource.categorystringresource relationship resource category
Value: "eid"
N
event.resource.resourceRelationship.resource.resourceRelationship.resource.hrefstringthe URI of the objectY
event.resource.resourceRelationship.resource.resourceCharacteristicarray objectresource characteristicY
event.resource.resourceRelationship.resource.resourceCharacteristic.namestringname of resource characteristic
Example: "operatorId" or "subscriptionStatus" or "iccidProfile"
Y
event.resource.resourceRelationship.resource.resourceCharacteristic.valueTypestringvalue type of resource characteristic
Example: "String" or "Object"
N
event.resource.resourceRelationship.resource.resourceCharacteristic.valuestring/objectvalue of resource characteristicN
event.resource.resourceRelationship.resource.resourceCharacteristic.value.imeistringValue of imei
Y
event.resource.resourceRelationship.resource.resourceCharacteristic.value.iccidstringvalue of iccidY
event.resource.resourceRelationship.resource.resourceCharacteristic.value.meidstringvalue of meidN
event.resource.resourceRelationship.resource.resourceCharacteristic.value.iccidStatusstringvalue of iccidStatusN
event.resource.resourceRelationship.resource.resourceCharacteristic.value.statestringvalue of stateN
Response

200- ok.

{}

Reviews